package com.lsh.oms.core.model.query;

import com.lsh.oms.core.model.base.VenderModel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Mis查询接口订单列表接口订单Model
 *
 * @author peter
 * @date 16/8/20
 */
@Setter
@Getter
@NoArgsConstructor
@ToString
public class MisOrderHeadForList extends VenderModel implements Serializable {

    private static final long serialVersionUID = -4610761029095623634L;

    //订单号
    private Long orderCode;

    //仓储类型
    private Integer storageType;

    //订单状态
    private Integer orderStatus;

    //应付金额
    private BigDecimal expectPayAmount;

    //支付类型
    private Integer payType;

    //下单时间
    private Integer orderTime;

    //处理时间
    private Integer dealTime;

    //缺交状态
    private Integer lackDeliveryType;

    //地址信息
    private String addressInfo;

    //客户编码
    private Long userCode;

    //So单号
    private String soCodes;

    //有效下单数
    private Integer effectiveOrderCount;

    //售后单号
    public String aftersalesCode;

    //售后单状态
    public Integer aftersalesStatus;

    //附加信息
    private String ext;

    //物理仓库编号
    private String warehouseCode;

    private BigDecimal freight;
    
    //ID(业务字段,不被序列化返回)
    transient private Long id;
}
